package ynu.sxp.demoapp.product.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;


import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class ProductRO {
    @Schema(description = "商品ID")
    private UUID id;
    @Schema(description = "商品名称")
    private String title;
    @Schema(description = "商品类型")
    private String type;
    @Schema(description = "商品描述")
    private String description;
    @Schema(description = "商品价格")
    private double price;
    @Schema(description = "商品图片")
    private String image;
    @Schema(description = "商品标签")
    private List<TagRO> tags = new ArrayList<>();
}

